<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div style="text-align: center">

    当前第${pageInfo.pageNum}页/一共${pageInfo.pages}页/ <a
        href="javascript:gotoPage(1)">首页</a> <a
        href="javascript:gotoPage(${pageInfo.pageNum - 1})">上一页</a>
    <c:forEach items="${pageInfo.navigatepageNums}" var="item">
        <a href="javascript:gotoPage(${item})">${item}</a>
    </c:forEach>

    <a href="javascript:gotoPage(${pageInfo.pageNum+1})">下一页</a>
    <a href="javascript:gotoPage(${pageInfo.pages})">末页</a>

</div>
